import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import components from './utils/components';
import filter from './utils/filter'
import 'element-ui/lib/theme-chalk/index.css';
import VideoPlayer from 'vue-video-player'
require('video.js/dist/video-js.css')
require('vue-video-player/src/custom-theme.css')

Vue.use(VideoPlayer)
import AMap from 'vue-amap';

Vue.use(AMap)
Vue.use(ElementUI);
Vue.use(filter).use(components)
Vue.config.productionTip = false

AMap.initAMapApiLoader({
  key: 'd4332e5adb8b584442266763d20b978c',
  plugin: ['AMap.Autocomplete', 'AMap.PlaceSearch', 'AMap.Scale', 'AMap.OverView',
    'AMap.ToolBar', 'AMap.MapType', 'AMap.PolyEditor',
    'AMap.CircleEditor', 'AMap.Geolocation']
});

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
